package cn.sdstudio.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author zyq
 */
@Data
public class LoginDTO {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "图形验证码key不能为空")
    private String codeKey;

    @NotBlank(message = "图形验证码不能为空")
    private String code;
}
